#include "stubs_asm.h"

#define NULLSUB 0xFF810B04

NHSTUB(ExpCtrlTool_StartContiAE, 0xFF844034)
NHSTUB(MakeAFScan, 0xFF940504)

// not found by finsig
NHSTUB(PT_PlaySound, 0xFF8708C8)			 // or 0xFF879708 or FFA310EC
NHSTUB(EnterToCompensationEVF, 0xFF8369D4)
NHSTUB(ExitFromCompensationEVF, 0xFF836A18)
NHSTUB(Remove,0xFF8353e8)
NHSTUB(TurnOffBackLight, 0xFF88F4C4)		// or 0xFF89764C
NHSTUB(UIFS_WriteFirmInfoToFile, 0xFF95673C)
NHSTUB(kbd_pwr_on,NULLSUB)
NHSTUB(openfastdir, 0xFFA4CFC4)				// ??
NHSTUB(readfastdir, 0xFFA4D0F8)				// ??
NHSTUB(rename, 0xFF835490)
NHSTUB(WriteSDCard, 0xFF8827A8)
NHSTUB(platformsub_kbd_fetch_data, 0xFF858DF8)
NHSTUB(Lseek, 0xFF8354D0)


// wrong from finsig
NHSTUB(GetFocusLensSubjectDistance, 0xFFAD10E4)		// or 0xff935724)
NHSTUB(RenameFile_Fut, 0xFF834CAC)  // 0xff834e78) 0xffa39440) 0xffa39490)
NHSTUB(strcat, 0xFF89E254)				// 0xff813f38)
NHSTUB(strrchr, 0xFF813FE4)		// 0xff83de20)

// missing from finsig
NHSTUB(LEDDrive,0xFF8582F4)
NHSTUB(UnlockAF,0xFF870994)
NHSTUB(DoAFLock,0xFF870984)
NHSTUB(UnsetZoomForMovie,0xFF9712e4)
NHSTUB(ScreenLock,0xFF9D1C7C)
NHSTUB(RefreshPhysicalScreen, 0xFF9D1EA4)   // per SD940-1.03c SD90 101a & SD980 1.01c
NHSTUB(ScreenUnlock, 0xFF9D1CBC)
NHSTUB(PutInNdFilter, 0xFFA67C08)
NHSTUB(PutOutNdFilter, 0xFFA67C2C)
NHSTUB(apex2us, 0xFF9D5394)

// ignore
NHSTUB(rewinddir,NULLSUB)
NHSTUB(SetZoomActuatorSpeedPercent,NULLSUB)
NHSTUB(Mount_FileSystem,NULLSUB)
NHSTUB(Unmount_FileSystem,NULLSUB)
NHSTUB(kbd_pwr_off, NULLSUB)

/////////////////////////////////////////////////

// need to redo??
NSTUB(MoveFocusLensToDistance, 0xffad10e4)
NHSTUB(SetScriptMode,0xFF88A82C)


NHSTUB(closefastdir, 0xffa4d294)
NHSTUB(stat, 0xff83550c)

// do not need ??
//NHSTUB(MoveZoomLensWithPoint, 0xffa67da4)
